class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.column "uid", :string, :null => false, :limit => 30
      t.column "upw", :string, :null => false, :limit => 30
      t.column "alias", :string, :null => false, :limit => 30
      t.column "exam_in_progress", :int
      t.column "usession", :string
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
